package com.zretc.entity;

/**
 * Created by Administrator on 2020/8/22.
 */
public class Message {
    private String senderId;
    private String receiverId;
    private String msgContent;

    public Message() {
    }

    public Message(String senderId, String receiverId, String msgContent){
        this.senderId = senderId;
        this.receiverId = receiverId;
        this.msgContent = msgContent;
    }


    public String getSenderId() {
        return senderId;
    }

    public void setSenderId(String senderId) {
        this.senderId = senderId;
    }

    public String getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    @Override
    public String toString() {
        return "Message{" +
                ", senderId='" + senderId + '\'' +
                ", receiverId='" + receiverId + '\'' +
                ", msgContent='" + msgContent + '\'' +
                '}';
    }
}
